# Maintainer: Nattapong Pullkhow <ixenatt at gmail dot com>
# Contributor: Nattapong Pullkhow <ixenatt at gmail dot com>

pkgname=xenlism-minimalism-theme
_themename=minimalism
pkgver=2018.05
pkgrel=1
depends=('gtk-engine-murrine' 'gdk-pixbuf2')
pkgdesc="xenlism-minimalism simplicity theme for gnome desktop"
arch=("any")
url="https://xenlism.github.io/minimalism"
license=("GPL3")
provides=("$pkgname")
conflicts=("$pkgname")
source=("https://github.com/xenlism/minimalismarchive/$pkgver.tar.gz")
md5sums=('50ad11f66cfa112705ed457f9aef74f1')
package() {
	cd "$srcdir/$_themename-$pkgver"
	install -d "${pkgdir}/usr/share/themes/"
	cp -r themes $pkgdir/usr/share/
	find "${pkgdir}/usr/share/themes" -type d -exec chmod 755 '{}' \;
	find "${pkgdir}/usr/share/themes" -type f -exec chmod 644 '{}' \;
	#Install License
	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/Xenlism-minimalism/LICENSE"
}
